package com.china.bike.mapper;

import com.china.bike.entity.BikeRepairRecord;
import com.china.bike.entity.BikeUseRecord;
import com.china.bike.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author
 */
@Mapper
public interface UserMapper {

    void createUser(User user);

    User searchUserByCondition(User user);

    List<BikeUseRecord> searchUserJourney(User user);

    List<BikeRepairRecord> searchBikeRepairRecord(User user);
}
